all: clean compile run

compile:
	gcc main.c `allegro-config --libs` -o 3d

clean:
	rm -f 3d *.o

run:
	./3d
